package com.wanxi.domain.product;

import java.math.BigDecimal;

public class ProductModel {

    //产品id
    private Integer id;

    //产品名
    private String name;

    //产品当前价格
    private BigDecimal normalPrice;

    //产品过期价格
    private BigDecimal price;

    //是否可提供
    private Integer enable;

    //产品所属
    private String typeName;

    //产品所属id
    private String typeId;

    //产品图片地址
    private String imgHref;

    //产品描述
    private String description;

    //针对人群
    private String forWho;

    //所有产品的数量
    private Integer num;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getNormalPrice() {
        return normalPrice;
    }

    public void setNormalPrice(BigDecimal normalPrice) {
        this.normalPrice = normalPrice;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getImgHref() {
        return imgHref;
    }

    public void setImgHref(String imgHref) {
        this.imgHref = imgHref;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getForWho() {
        return forWho;
    }

    public void setForWho(String forWho) {
        this.forWho = forWho;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }


    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "ProductModel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", normalPrice=" + normalPrice +
                ", price=" + price +
                ", enable=" + enable +
                ", typeName='" + typeName + '\'' +
                ", typeId='" + typeId + '\'' +
                ", imgHref='" + imgHref + '\'' +
                ", description='" + description + '\'' +
                ", forWho='" + forWho + '\'' +
                ", num=" + num +
                '}';
    }
}
